Runs a script on a remote computer. QA Wizard Pro must be installed and QAWRemote.exe must be running on the remote computer. See Configuring remote computers and Starting QAWRemote.exe.
The remote computer must also have access to the application in the global or local application repository.
If a data source is associated with the script or specified in this statement, the script runs once for each row in the datasheet.
Note: Issues may occur when using this statement in load test scripts.
Syntax
RunScriptRemote("ComputerIP", PortNumber, "ScriptName", "DatasheetName")
Arguments
| Argument | Description |
|---|---|
| ComputerIP | Remote computer hostname or IP address. |
| PortNumber | QAWRemote.exe port number for the remote computer. Default is 6001. |
| ScriptName | Script name to run. |
| DatasheetName | Optional datasheet to use as the data source for the script. |
Example
RunScriptRemote("remote.wysicorp.com", 6001, "WysiCorp Login", "TestUsernames")